/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package subir;

/**
 *
 * @author Administrador
 */
public class numero12 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        float f=9;
        int w=9;
        System.out.println(Math.scalb(f, w));
        // Return d × 2scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double value set. See the Java Language Specification for a discussion of floating-point value sets. If the exponent of the result is between Double.MIN_EXPONENT and Double.MAX_EXPONENT, the answer is calculated exactly. If the exponent of the result would be larger than Double.MAX_EXPONENT, an infinity is returned. Note that if the result is subnormal, precision may be lost; that is, when scalb(x, n) is subnormal, scalb(scalb(x, n), -n) may not equal x. When the result is non-NaN, the result has the same sign as d.
    }

}
